<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ include file="/common/common.jsp"%>
<div id="easyui-title" style="display:none">
	     用户操作
</div>
<div style="height: 30px;text-align: center;">
	<a href="#" class="easyui-linkbutton" iconCls="icon-back" onclick="comeback();">返回</a>
    <a href="#" class="easyui-linkbutton" iconCls="icon-save" onclick="user_save()">保存</a>
</div>
<s:form id="userOperateForm">
<div style="overflow: auto;">
<s:hidden id="userId" name="entity.sid"></s:hidden>
<s:hidden  name="deptCname"></s:hidden>
<s:hidden  name="deptId"></s:hidden>
<table class="dataTable" >
	<tr>
		<td colspan="4" style="text-align: center;"><s:property value="deptCname" /></td>
		
	</tr>
	<tr>
		<td width="80px">帐号:</td>
		<td width="30%">
		<s:if test="entity.sid!=null">
			<s:textfield name="entity.username"  cssClass="easyui-validatebox" readonly="true" />
		</s:if>
		<s:else>
			<s:textfield name="entity.username"  cssClass="easyui-validatebox" validType="length[1,20]" notnull="true"/>
		</s:else>
		</td>
		<td width="80px" rowspan="3">相片:</td>
		<td width="30%" rowspan="3" align="center" style="width:100px">
			<img src="<c:url value='/images/person.gif'/>"  style="float: left;" />
		</td>
	</tr>
	<tr>
		<td width="80px">姓名:</td>
		<td width="30%"><s:textfield name="entity.cname" cssClass="easyui-validatebox" validType="length[1,20]" notnull="true" /></td>
	</tr>
	<tr>
		<td width="80px">排序:</td>
		<td width="30%"><s:textfield name="entity.orderBy" cssClass="easyui-validatebox" validType="number[1,3]" notnull="true" /></td>
	</tr>
	<tr>
		<td width="80px">邮箱:</td>
		<td width="30%"><s:textfield name="entity.email"  cssClass="easyui-validatebox" validType="email[0,50]"/></td>
		<td width="80px">电话:</td>
		<td width="30%"><s:textfield name="entity.mobile" cssClass="easyui-validatebox" validType="telphone" /></td>
	</tr>
	<tr>
		<td width="80px">性别:</td>
		<td width="30%"><s:select name="entity.sex"  cssClass="easyui-combobox" list="{'男','女'}"/></td>
		<td width="80px">编码:</td>
		<td width="30%"><s:textfield name="entity.ename" cssClass="easyui-validatebox" validType="length[1,20]" /></td>
	</tr>
	<tr>
		<td width="80px">地址:</td>
		<td width="80%" colspan="3"><s:textfield name="entity.address" validType="length[1,400]"  cssClass="easyui-validatebox" style="width:80%"  /></td>
	</tr>
	
</table>
</div>
</s:form>